package com.itheima.dto.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * <h1>电话号码登录dto</h1>
 *
 * @author <a href="515857087@qq.com">叶世铭</a>
 * @since 2023/1/19
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class PhoneLoginDto extends PhoneLoginBaseParam {
    private static final long serialVersionUID = 7833334660342244225L;
    /**
     * 手机验证码
     */
    @NotBlank(message = "手机验证码不能为空")
    @ApiModelProperty(value = "手机验证码")
    private String phoneCode;

}
